home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / DemonicDefence3.swf / scripts / DefineButton2_1190 / BUTTONCONDACTION on(release).as next >
Encoding:
Text File  |  2005-09-27  |  201 b   |  13 lines

  1. on(release){
  2.    if(_root.money >= 180)
  3.    {
  4.       _root.money -= 180;
  5.       _root.timeRune += 1;
  6.       messo = "Got Time Rune!";
  7.    }
  8.    else
  9.    {
  10.       messo = "Not Enough Money!";
  11.    }
  12. }
  13.